package org.codeasy.ceutils.reflection;

public class ReflectionUtil {

	/**
	 * 根据类路径，反射生成对象
	 * 
	 * @param classPath
	 * @return
	 * @throws Exception
	 */
	public static Object getObjectByClassPath(String classPath) throws Exception {
		Class<?> clazz = Class.forName(classPath);
		return clazz.newInstance();
	}

}
